package com.kkb.mapper;

import java.util.List;

import com.kkb.pojo.Game;
import com.kkb.pojo.GameExample;
import com.kkb.vo.GameVO;
import org.apache.ibatis.annotations.Param;

public interface GameMapper {
    /**
     * 多条件连表查询 Game 信息
     *
     * @param gameVO 多查询条件
     * @return GameVO
     */
    List<GameVO> pageList(@Param("gameVO") GameVO gameVO);

    long countByExample(GameExample example);

    int deleteByExample(GameExample example);

    int deleteByPrimaryKey(Integer gameId);

    int insert(Game record);

    int insertSelective(Game record);

    List<Game> selectByExample(GameExample example);

    Game selectByPrimaryKey(Integer gameId);

    int updateByExampleSelective(@Param("record") Game record, @Param("example") GameExample example);

    int updateByExample(@Param("record") Game record, @Param("example") GameExample example);

    int updateByPrimaryKeySelective(Game record);

    int updateByPrimaryKey(Game record);
}